<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('credit_del_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>信用卡所属银行：</span>{:widget('common/Select/select',array('bank_id',array($bank_list,"bank_id","bank_name"),$bank_id))}</li>
                    <li><span>信用卡编号：</span><input type="text" name="credit_product_id" value="{$credit_product_id}"/></li>
                    <li><span>信用卡名称：</span><input type="text" name="credit_product_name" value="{$credit_product_name}"/></li>
                    <li><span>信用卡年费：</span>{:widget('common/Select/select',array('credit_fee','credit_fee',$credit_fee))}</li>
                    <li><span>信用卡等级：</span>{:widget('common/Select/select',array('credit_level','credit_level',$credit_level))}</li>
                    <li><span>信用卡币种：</span>{:widget('common/Select/select',array('credit_currency','credit_currency',$credit_currency))}</li>
                    <li><span>信用卡发卡机构：</span>{:widget('common/Select/select',array('credit_agency','credit_agency',$credit_agency))}</li>
                    <li><span>信用卡特权：</span>{:widget('common/Select/select',array('credit_privilege','credit_privilege',$credit_privilege))}</li>
                    <li><span>信用卡用途：</span>{:widget('common/Select/select',array('credit_purpose','credit_purpose',$credit_purpose))}</li>
                    <li><span>信用卡卡面颜色：</span>{:widget('common/Select/select',array('credit_color','credit_color',$credit_color))}</li>
                    <li><span>信用卡卡面类型：</span>{:widget('common/Select/select',array('credit_type','credit_type',$credit_type))}</li>
                    <li style="width: 100%"><span>所在城市：</span>{:widget('common/Select/select_group',array('area',array($area_list,"area_id","acronym","parent_id"),0,$area))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
                <tr>
                    <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡编号</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡所属银行名称</p></a></th>
                    <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡图标</p></a></th>
                    <th style="width: 12%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡名称</p></a></th>
                    <th style="width: 15%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡概要</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>标签</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡特权</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡年费</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡等级</p></a></th>
                    <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
                </tr>
            </thead>
                <tbody>
                    {foreach name="credit_list" item="info"}
                    <tr>
                        <td>{$info.credit_product_id}</td>
                        <td>{:widget('common/Name/bank',array($info["bank_id"]))}</td>
                        <td>{:widget('common/Images/img',array($info["credit_product_url"],50,25))}</td>
                        <td>{$info.credit_product_name}</td>
                        <td>{$info.credit_product_outline}</td>
                        <td>{$info['credit_tag_str']}</td>
                        <td>{:widget('common/Color/color',array('credit_privilege',$info["credit_privilege"]))}</td>
                        <td>{:widget('common/Color/color',array('credit_fee',$info["credit_fee"]))}</td>
                        <td>{:widget('common/Color/color',array('credit_level',$info["credit_level"]))}</td>
                        <td>
                            <a data-type="info-win" data-src="{:Url('credit_info',array('credit_product_id'=>$info['credit_product_id']))}" data-title="详情" data-width="80%" data-height="80%" class="blue">详情</a>
                            <a href="{:Url('credit_recycle',array('credit_product_id'=>$info['credit_product_id']))}" class="blue info1"><font color="red">还原</font></a>
                            <a data-type="info-win" data-src="{:Url('credit_log',array('credit_product_id'=>$info['credit_product_id']))}" data-title="日志" data-width="80%" data-height="80%" class="blue">日志</a>
                        </td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>

<!-- JS处理 -->
<script language="javascript">
    $(function(){
        //提示信息
        $("a.info1").click(function(){
            if(confirm("您确定要还原该信用卡吗？")){
                return true;
            }else{
                return false;
            }
        });
    });
</script>
